import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import '@/style/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import '@/permission'
import usePlugin from '@/plugins/index'
import useComponent from '@/components/index'
const app = createApp(App)
import { Slider, InputNumber, Steps, Step, Modal } from 'ant-design-vue';
app.use(Slider)
app.use(InputNumber)
app.use(Steps)
app.use(Step)
app.use(Modal)
useComponent(app)
usePlugin(app)
app.use(ElementPlus, {  zIndex: 3000, locale: zhCn })
app.use(store).use(router).mount('#app')

